//
//  MZYthiTableViewCell.m
//  Watch
//
//  Created by dllo on 15/10/28.
//  Copyright (c) 2015年 lyl. All rights reserved.
//

#import "MZYthiTableViewCell.h"

#define WIDTh self.contentView.frame.size.width
#define HEIGHt self.contentView.frame.size.height
@implementation MZYthiTableViewCell

//- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
//{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        self.leftLabel = [[UILabel alloc] init];
//        [self.contentView addSubview:self.leftLabel];
//        [_leftLabel release];
//        
//        
//        self.rightLabel = [[UILabel alloc] init];
//        [self.contentView addSubview:self.rightLabel];
//        [_rightLabel release];
//    }
//    return self;
//}
//
//- (void)layoutSubviews
//{
//    [super layoutSubviews];
//    
//    self.leftLabel.frame = CGRectMake(10, 10, WIDTh / 4, 20);
//    self.leftLabel.textColor = [UIColor grayColor];
//    
//    
//    NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:13], NSFontAttributeName,nil];
//
//    CGRect rect = [self.rightLabel.text boundingRectWithSize:CGSizeMake(WIDTh / 1.8, 0) options:NSStringDrawingUsesLineFragmentOrigin attributes:dic context:nil];
//    self.rightLabel.frame = CGRectMake(WIDTh / 2.6, self.leftLabel.frame.origin.y, WIDTh / 1.8, rect.size.height);
//    self.rightLabel.font = [UIFont boldSystemFontOfSize:13];
//    self.rightLabel.numberOfLines = 0;

    
//}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
